package com.web.exiaodao.business.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;
import com.web.webstart.base.entity.BaseEntity;

/**
 *
 * @ClassName: video_view_record
 * @Description: 视频观看记录定义表
 * @author eason
 * @date 2016-11-23 12:03:49
 *
 */
@Entity
@Table(name = "tb_xa_video_view_record")
@ApiModel(value="视频观看记录定义表")
public class VideoViewRecord extends BaseEntity{

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value="观看人,观看人")
	private Long userId;
	@ApiModelProperty(value="观看时长(分钟),观看时长(分钟)")
	private String duration;
	@ApiModelProperty(value="机构id,机构id")
	private Long institutionId;


	public void setUserId(Long userId){
		this.userId=userId;
	}

	@Column(nullable=true,length=50)
	public Long getUserId(){
		return userId;
	}
	public void setDuration(String duration){
		this.duration=duration;
	}

	@Column(nullable=true,length=50)
	public String getDuration(){
		return duration;
	}
	public void setInstitutionId(Long institutionId){
		this.institutionId = institutionId;
	}

	@Column(nullable=true,length=50)
	public Long getInstitutionId(){
		return institutionId;
	}


}
